package com.woniu.model.contentMService.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 权限等级分配表
 * </p>
 *
 * @author 作者
 * @since 2023-10-26
 */
@Getter
@Setter
  @TableName("h_permission")
@ApiModel(value = "Permission对象", description = "权限等级分配表")
public class Permission implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("权限等级分配表")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("权限名称")
      private String permissionName;

      @ApiModelProperty("父级id")
      private Long parentId;

      @ApiModelProperty("访问地址")
      private String url;


}
